﻿
<html>
	<head>
		<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link href="../include/css/default.css" rel="stylesheet" type="text/css"/>
		<link href="../include/js/components/Tabbar/Tabbar_css/dhtmlxtabbar.css" rel="stylesheet" type="text/css"/>
		<script src="../include/js/components/comm_js/dhtmlxcommon.js"></script>
		<script src="../include/js/components/Tabbar/Tabbar_js/dhtmlxtabbar.js"></script>
		<script type="text/javascript" src="../include/js/jquery-1.6.1.js"></script>

	</head>
	<body style="margin: 0px;overflow: hidden;background:#fff url(images/skin/1/tab_bg.jpg);background-repeat: repeat-x;" scroll="no"  >
		<div id="tabbarDiv" style="width:100%; height:100%;margin-top:3px;"></div>
		<script>
		<!--
			
			var tabbar = new dhtmlXTabBar("tabbarDiv","top");
			//tabbar.setSkinColors("#FFFF00","#FFFACD");		
			tabbar.setOnFullscreen(fullscreen);
			//tabbar.setOnSelectHandler(set_tabbarID);			
			tabbar.setMargin("0");
			tabbar.setOffset("10");
			tabbar.enableAutoReSize(true);
			tabbar.preventIECashing(true);
			tabbar.setImagePath("../include/js/components/Tabbar/Tabbar_imgs/");
			tabbar.loadXMLString("<?xml version=\"1.0\" encoding=\"GBK\"?><tabbar hrefmode=\"iframes\"><row><tab id=\"mydesktop\" width=\"100px\" selected=\"1\" href=\"desk.html\">我的桌面</tab></row></tabbar>");
			tabbar.enableTabCloseButton("true");
			tabbar.setOnTabClose(close_tab);

			function close_tab(id){
				top.frames[5].Array_RemoveItem(id);		
				return true;
			}
			function fullscreen(){
			
			if (top.dhxLayout.cells("b").isCollapsed()){
				top.dhxLayout.cells("a").expand();
				top.dhxLayout.cells("b").expand();
			}else{
				top.dhxLayout.cells("a").collapse();
				top.dhxLayout.cells("b").collapse();
			}
				
			}
			
		//-->
		</script>
	</body>
</html>